﻿@{
    Layout = null;
}
<script>




    data = new FormData();
    data.append('UserId', 1);
    
    fetch("/api/GetUserByUserId", {
        method: "post",
        headers: {
            'token': localStorage.getItem("token")
        },
        body: data

    }).then((data) => {
        console.log(data)
    })
</script>